package com.cg.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * <p>
 * 
 * </p>
 *
 * @author 加
 * @since 2025-01-17
 */
@Data
public class UpdateQuestionDTO {


    @NotBlank
    @Size(max = 30,message = "最多不超过10个字符")
    private String questionName;

    @NotNull
    private Long questionId;

    @NotBlank
    @Size(max = 30,message = "最多不超过50个字符")
    private String content;

    private String picture;


    @NotBlank
    private String rAnswer;

    @NotBlank
    private String answers;


}
